﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Domain.Process.ProcessrouteName
{
    /// <summary>
    /// 工序路线
    /// </summary>
    public class Processroute
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProcessrouteName { get; set; }
        /// <summary>
        /// 预览图(可空)
        /// </summary>
        public string? Image { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessrouteType { get; set; }
        /// <summary>
        /// 发布状态
        /// </summary>
        public bool ProcessrouteState { get; set; } 
        /// <summary>
        /// 描述
        /// </summary>
        public string? ProcessrouteDescription { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string ProcessrouteCreatorName { get; set; } = "admin";
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ProcessrouteCreatorTime { get; set; }= DateTime.Now;
        /// <summary>
        /// 更新时间(可空)
        /// </summary>
        public DateTime? ProcessrouteUpdateTime { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
        /// <summary>
        /// 流程图Json串
        /// </summary>
        public string? nodes { get; set; }

    }
}
